package cn.com.wanywhn.factory;

import cn.com.wanywhn.dao.EmployeeDAO;
import cn.com.wanywhn.daoImpl.EmployeeDAOImpl;


public class EmployeeDAOFactory {
    public static EmployeeDAO getEmployeeDAOInstance() {    //工厂方法，用来返回DAO实现类实例
        return new EmployeeDAOImpl();                        //返回DAO实现类实例
    }
}
